package com.zbf.auth.auth;

import com.zbf.auth.user.Menu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 作者: LCG
 * 日期: 2020/6/9 10:29
 * 描述:
 */

@RestController
public class TestAuthController {

    @Autowired
    private TestMEnuService testMEnuService;

    @RequestMapping("getTreeData")
    public Object getTreeData(){


        List<Menu> menus = testMEnuService.getMenus();

        return menus;

    }

}
